<html><head><title>FlipCoordinatesY</title></head>
<body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000">
<font face="Verdana, sans-serif" size="2"><p align="center"><b><font size="4">FlipCoordinatesY()</font></b></p>
<p><b>Syntax</b></p><blockquote>
<font color="#3A3966"><b>FlipCoordinatesY</b></font>(AxisY.d [, System])</blockquote>

</blockquote>
<b>Description</b><br><blockquote>

Mirrors the vector drawing coordinate system at the specified Y axis. 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>AxisY.d</i></td>
<td width="90%"> 
The Y coordinate at which the coordinate system should be mirrored. 

</td></tr>
<tr><td><i>System (optional)</i></td>
<td> 
Specifies the coordinate system to change. This can be one of the following values: 
<pre><font face="Courier New, Courier, mono"size="2">  <font color="#924B72">#PB_Coordinate_User</font>  : Change the coordinate system for points in the drawing path (default)
  <font color="#924B72">#PB_Coordinate_Source</font>: Change the coordinate system for the vector drawing source
</font></pre>

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>
None.


</blockquote><p><b>Remarks</b></p><blockquote>

See the <a href="index.html">vectordrawing overview</a> for an introduction to the different 
coordinate systems. 
The following image demonstrates the effect of flipped coordinates. The same figure is drawn 
twice, the original is in blue, and the version with flipped coordinates is in red. 

<p><img src="../HelpPictures/flipcoordinatesy.png"></p>

</blockquote><p><b>Example</b></p><blockquote>


<pre><font face="Courier New, Courier, mono"size="2">  <b><font color="#3A3966">If</font></b> <font color="#3A3966">OpenWindow</font>(0, 0, 0, 400, 200, &quot;VectorDrawing&quot;, <font color="#924B72">#PB_Window_SystemMenu</font> | <font color="#924B72">#PB_Window_ScreenCentered</font>)
<font color="#3A3966">    CanvasGadget</font>(0, 0, 0, 400, 200)    
    
    <b><font color="#3A3966">If</font></b> <font color="#3A3966">StartVectorDrawing</font>(<font color="#3A3966">CanvasVectorOutput</font>(0))
<font color="#3A3966">      VectorFont</font>(<font color="#3A3966">LoadFont</font>(0, &quot;Times New Roman&quot;, 60, <font color="#924B72">#PB_Font_Bold</font>))

<font color="#3A3966">      VectorSourceColor</font>(<font color="#3A3966">RGBA</font>(0, 0, 255, 128))
<font color="#3A3966">      MovePathCursor</font>(50, 50)
<font color="#3A3966">      DrawVectorText</font>(&quot;Test&quot;)
    
<font color="#3A3966">      FlipCoordinatesY</font>(120)
    
<font color="#3A3966">      VectorSourceColor</font>(<font color="#3A3966">RGBA</font>(255, 0, 0, 128))
<font color="#3A3966">      MovePathCursor</font>(50, 50)
<font color="#3A3966">      DrawVectorText</font>(&quot;Test&quot;)    
    
<font color="#3A3966">      StopVectorDrawing</font>()
    <b><font color="#3A3966">EndIf</font></b>
    
    <b><font color="#3A3966">Repeat</font></b>
      Event =<font color="#3A3966"> WaitWindowEvent</font>()
    <b><font color="#3A3966">Until</font></b> Event = <font color="#924B72">#PB_Event_CloseWindow</font>
  <b><font color="#3A3966">EndIf</font></b>
</font></pre>

<p><img src="../HelpPictures/flipcoordinatesy2.png"></p>

</blockquote><p><b>See Also</b></p><blockquote>

<a href="resetcoordinates.html">ResetCoordinates()</a>, <a href="translatecoordinates.html">TranslateCoordinates()</a>, <a href="scalecoordinates.html">ScaleCoordinates()</a>, <a href="rotatecoordinates.html">RotateCoordinates()</a>, 
<a href="skewcoordinates.html">SkewCoordinates()</a>, <a href="flipcoordinatesx.html">FlipCoordinatesX()</a>, <a href="convertcoordinatex.html">ConvertCoordinateX()</a>, <a href="convertcoordinatey.html">ConvertCoordinateY()</a> 

</Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><- <a href=flipcoordinatesx.html>FlipCoordinatesX()</a> - <a href="index.html">VectorDrawing Index</a> - <a href="isinsidepath.html">IsInsidePath()</a> -><br><br>

</body></html>